<template>
	<view style="padding: 30upx;">
        <u-parse :html="fan_value"></u-parse>
	</view>
</template>

<script>
	var _self=null;
	var reg=new RegExp('src="','g');

	export default {
		data() {
			return {
				name:'',
				fan_value:'',
			};
		},
		onLoad(options) {
			_self=this;
		uni.setNavigationBarTitle({title:options.name});
			_self.name=options.name;

		uni.request({
									url:uni.getStorageSync('APP_key')+'/help_data.php',
									method:'POST',
									data:{
											name:this.name,
										
									},
									header:{
											'content-type':'application/x-www-form-urlencoded',
									},
											dataType:'json',
											success: function(res) { 
											
											_self.fan_value=res.data.content;
											_self.fan_value=_self.fan_value.replace(reg,'width="100%" src="https://plshop.sdsj88.cn');	
										
										
																		
						} 
					});
		}
	}
</script>

<style>

</style>
